Skip to content

Add command to generate dnf/yum repository conf - #132

Merged
qa-cea merged 1 commit into
cea-hpc:masterfrom
rezib:repos-conf
Nov 10, 2026
Merged

qa-cea merged 1 commit into
cea-hpc:masterfrom
rezib:repos-conf

Conversation

@rezib

@rezib rezib commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

A host can install packages from a Rift project without running rift. The new rift repo generate subcommand writes a dnf/yum repository file from the repositories declared in the project configuration.

Option -H, --host makes those repositories available under another hostname. Option --token-proxy lets dnf reach IDP authenticated repositories through a running repos-token-proxy.

Declared repositories are loaded by project_repositories(), which ArchRepositoriesRPM now uses as well. That keeps repository loading in one place and avoids creating a working repository just to read the project configuration.

@rezib
rezib force-pushed the repos-conf branch 2 times, most recently from e905a7a to ff55460 Compare October 30, 2026 14:10
@rezib
rezib marked this pull request as ready for review October 30, 2026 14:34
@rezib
rezib requested review from qa-cea and valeriyoann October 30, 2026 16:45
@rezib
rezib force-pushed the repos-conf branch 2 times, most recently from 16f5f6f to 0d2c5a5 Compare November 9, 2026 15:43
Introduce rift repo generate subcommand to generate dnf/yum repository
file from Rift project configuration.

The command notably offers the following options:

  - -H, --host makes those repositories available under another hostname
    (and optionally scheme/port).
  - --token-proxy lets dnf reach IDP authenticated repositories through
    a running repos-token-proxy.

Assisted-by: Claude Opus 5.5
@qa-cea
qa-cea merged commit 78d5b96 into cea-hpc:master Nov 10, 2026
4 checks passed
@rezib
rezib deleted the repos-conf branch November 12, 2026 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants